package com.zzyl.nursing.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiOperation("护理任务VO")
public class NursingTaskVo extends BaseEntity {
    @Excel(name = "护理员姓名")
    @ApiModelProperty(value = "护理员姓名")
    private List<String> nursingName;


    private Long id;  // 主键
    private String age;  // 年龄
    private String bedNumber;  // 床位号
    private String cancelReason;  // 取消原因
    private Long elderId;  // 老人id
    private String elderName;  // 老人姓名
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedServerTime;  // 预计服务时间
    private String mark;  // 执行记录
    private String nursingId;  // 护理员id
    private String nursingLevelName;  // 护理等级名称

    private Long projectId;  // 护理项目id
    private String projectName;  // 护理项目名称
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计服务时间")
    private LocalDateTime realServerTime;  // 实际服务时间
    private String remark;  // 备注
    private String sex;  // 性别
    private Integer status;  // 状态: 1待执行 2已执行 3已关闭
    private String taskImage;  // 执行图片
    private String updater;  // 执行人

}
